package com.lagou.dao;

import com.lagou.domain.Employee;

import java.util.List;

public interface EmployeeMapper {


    /**
     * 新增员工
     * @param employee
     */
    public int saveEmployee(Employee employee);


    /**
     * 根据员工号删除员工
     * @param ids
     * @return
     */
    public int deleteBatch(Integer[] ids);

    /**
     * 根据员工号删除员工
     * @param empId
     * @return
     */
    public int deleteEmp(Integer empId);


    /**
     * 根据员工编号查询员工
     */

    public Employee queryEmpByEmpId(int id);


    /**
     * 查询所有员工信息
     */

    public List<Employee> queryAllEmp();


    /**
     * 修改员工信息
     */
    public int updateEmployee(Employee employee);


}
